Transformation to Dynamic Single Assignment Using a Simple Data Flow Analysis

نویسندگان

  • Peter Vanbroekhoven
  • Gerda Janssens
  • Maurice Bruynooghe
  • Francky Catthoor
چکیده

This paper presents a novel method to construct a dynamic single assignment (DSA) form of array-intensive, pointer-free C programs (or in any other procedural language). A program in DSA form does not perform any destructive update of scalars and array elements, i.e., each element is written at most once. As DSA makes the dependencies between variable references explicit, it facilitates complex analyses and optimizations of programs. This makes it a preferred intermediate form for a number of compiler techniques of growing importance: parallelization, systolic array design, programming heterogeneous architectures, memory optimization, and verification of source code transformations. Existing transformations into DSA perform a complex data flow analysis that is exponential in the program size and that only accepts input programs where all loop bounds, array indexation and conditionals are (possibly piecewise) affine expressions in the loop iterators. Our method removes irregularities from the data flow by adding copy assignments to the program, and then it can use simple data flow analyses. The contributions of this paper are threefold. The DSA transformation presented scales very well with growing program sizes. It is quadratic in the program size –though our experiments indicate that it tends towards linearity– and is polynomial in the loop nest depth, while other existing methods have exponential complexity. Our DSA transformation overcomes a number of important limitations of existing methods; it allows any expression for loop bounds, indexation and conditionals, as long as constant bounds can be found for loop iterators. We have implemented the method and it is being used in the context of memory optimization and verification of those optimizations.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Prediction of Fluid Flow and Heat Transfer Characteristics Behind a Single Backward-Facing Step

Numerical solutions based on standard finite volume method are presented for the study of heat transfer and fluid dynamic characteristics in turbulent flows behind a single sided backward-facing step. The calculation of the differential equations is performed using SIMPLE algorithm. For the turbulent quantities standard K-model is used. Predicted mean velocity profiles and reattachment lengths ...

متن کامل

A Simple Transformation Method in Skewness Reduction

Statistical analysis of non-normal data is usually more complicated than that for normaldistribution. In this paper, a simple root/power transformation technique developed by Niaki, et al [1]is extended to transform right and left skewed distributions to nearly normal. The value of theroot/power is explored such that the skewness of the transformed data becomes almost zero with anacceptable err...

متن کامل

Literature Review of Traffic Assignment: Static and Dynamic

Rapid urban growth is resulting into increase in travel demand and private vehicle ownership in urban areas. In the present scenario the existing infrastructure has failed to match the demand that leads to traffic congestion, vehicular pollution and accidents. With traffic congestion augmentation on the road, delay of commuters has increased and reliability of road network has decreased. Four s...

متن کامل

Application of the Schwarz-Christoffel Transformation in Solving Two-Dimensional Turbulent Flows in Complex Geometries

In this paper, two-dimensional turbulent flows in different and complex geometries are simulated by using an accurate grid generation method. In order to analyze the fluid flow, numerical solution of the continuity and Navier-Stokes equations are solved using CFD techniques. Considering the complexity of the physical geometry, conformal mapping is used to generate an orthogonal grid by means of...

متن کامل

Simultaneous Due Date Assignment and Lot Sizing with Uncertain Flow Times

Due date assignment for customer orders has been studied in various productionenvironments using different modeling approaches. In this paper the researchers consider aproduction system in which the orders of several customers are produced in a single batch because ofthe economy of scale. If a batch is completed before receiving customer orders, inventory carryingcost is incurred but if it is c...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005